package httpclient;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by xiao on 2018/1/13 上午12:15.
 */
public class MapGenerator<K, V> {
    private Map<K, V> map = new HashMap<>();

    public MapGenerator<K, V> add(K k, V v) {
        map.put(k, v);
        return this;
    }

    public Map<K, V> map() {
        return map;
    }
}
